#!/bin/sh

# 启动uwsgi
uwsgi --ini uwsgi.ini

# 停止
uwsgi --stop uwsgi.pid

# reload
uwsgi --reload uwsgi.pid

# 迁移数据
python3 manage.py makemigrations
python3 manage.py migrate

# 搜集静态文件
python3 manage.py collectstatic



